'use strict';

Object.defineProperty(exports, '__esModule', {
  value: true,
});
exports.useFormContext = exports.default = exports.FormContextProvider = void 0;
var _react = require('react');
var FormContext = /*#__PURE__*/ (0, _react.createContext)(undefined);
var _default = FormContext;
exports.default = _default;
var FormContextProvider = FormContext.Provider;
exports.FormContextProvider = FormContextProvider;
var useFormContext = function useFormContext() {
  return (0, _react.useContext)(FormContext);
};
exports.useFormContext = useFormContext;
